package org.CGlibProxyEnhancer;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * 前置增加类
 *
 * Created by chinalin on 2017/3/18.
 */
public class GreetingBeforeAdviec implements MethodBeforeAdvice{
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("Before");
    }
}
